<div class="newblog left">
  <div class="rnav primary_block" *ngIf="cateChild.length>0">
    <ul>
      <li class="rnav2" *ngFor="let cate of cateChild">
        <a [routerLink]="['/cate',cate.id]">{{cate.name}}</a>
      </li>
    </ul>
  </div>
  <div class="primary_block" *ngFor="let article of list">
    <h2>{{article.title}}</h2>

    <figure><img [images]="article.full_thumb"></figure>
    <ul class="nlist">
      <div class="text_line3">{{article.description?article.description:'点击阅读全文查看全部内容'}}</div>
    </ul>
    <p class="dateview">
      <span *ngIf="article.created_at">发布时间：{{article.created_at}}</span>
      <span *ngIf="article.author">作者：{{article.author}}</span>
      <span *ngIf="article.cate_id">分类：[<a [routerLink]="['/cate/'+article.cate.id]">{{article.cate.name}}</a>]</span>
      <a  [routerLink]="['/article/'+article.id]" class="readmore">阅读全文</a>
    </p>
  </div>
  <!--<div class="page">-->
    <!--<ul>-->
      <!--<li><a (click)="changePage('-')"><</a></li>-->
      <!--<li *ngFor="let i of page" [ngClass]="{'active':articles.current_page==(i)}">-->
        <!--<a (click)="changePage(i)" >{{i}}</a>-->
      <!--</li>-->
      <!--<li><a (click)="changePage('+')" >></a></li>-->
    <!--</ul>-->
  <!--</div>-->
</div>
